#ifndef _OBJ_LOADER_H_
#define _OBJ_LOADER_H_

#include <vector>

using namespace std;

class ObjLoader
{
public:
	ObjLoader(string path);
	~ObjLoader();

	vector<vector<float>> vertices;
	vector<vector<float>> v_normals;
	vector<vector<vector<int>>> faces;
	string filePath;

	void printData();
	
private:
	bool loadObject();
	vector<int> splitString(string &str, char delim);
};
#endif


